﻿<Page x:Class="TableTop.Presentation.Pages.HomePage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:TableTop.Presentation.Controls"
      mc:Ignorable="d" 
      d:DesignHeight="300" 
      d:DesignWidth="300"
	  Title="Home">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="45"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <TextBlock Text="TableTop .NET Home Page" 
                        Foreground="Navy" 
                        FontSize="32"/>
        </Grid>
        
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            
            <!-- Characters sheets -->
            <local:PanelStripe Grid.Row="0" 
                               Title="Characters Sheets" 
                               FontSize="22"
                               Orientation="Horizontal">             
                <WrapPanel>        
                    <!-- Character sheet bookshelf -->
                    <Button Style="{StaticResource AnimatedItemButton}" 
                                Width="110" 
                                Height="110"
                                Name="btnCharactersSheetsDocuments"
                                Click="btnCharactersSheetsDocuments_Click">
                        <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                            <Image Source="../Images/Icons/mydocuments.png" 
                                       Width="48" 
                                       Height="48" 
                                       VerticalAlignment="Center" HorizontalAlignment="Center" />
                            <TextBlock Text="Show boolshelf" 
                                           FontSize="14" 
                                           FontStyle="Italic" 
                                           HorizontalAlignment="Center" VerticalAlignment="Center"/>
                        </StackPanel>
                    </Button>
                                    
                    <!-- Add a new character sheet-->
                    <Button Style="{StaticResource AnimatedItemButton}" 
                            Width="110" 
                            Height="110"
                            Margin="5,0,5,0"
                            Name="btnAddNewSheet"
                            Click="btnAddNewSheet_Click">
                        <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                            <Image Source="../Images/Icons/edit.png" 
                                       Width="48" 
                                       Height="48" 
                                       VerticalAlignment="Center" HorizontalAlignment="Center" />
                            <TextBlock Text="Create new character sheet" 
                                           FontSize="14" 
                                           FontStyle="Italic" 
                                           HorizontalAlignment="Center" VerticalAlignment="Center"
                                           TextWrapping="Wrap"
                                           TextAlignment="Center"/>
                        </StackPanel>
                    </Button>
                </WrapPanel>
            </local:PanelStripe>
            
            <!-- Abilities panel -->
            
            <local:PanelStripe Grid.Row="1" 
                               Title="Abilities"
                               FontSize="22"
                               Orientation="Horizontal">
                <WrapPanel>
                    
                </WrapPanel>                
            </local:PanelStripe> 
            
            <local:PanelStripe Grid.Row="3"
                               Title="Addons installed"
                               FontSize="12"
                               Orientation="Horizontal">
                <WrapPanel Name="wrpAddons">                    
                </WrapPanel>
            </local:PanelStripe>
        </Grid>
    </Grid>
</Page>
